package com.main.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("JOKE")
public class TrollJoke extends Troll implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6083482433573736606L;
	
	private String headerContent;
	private String content;
	private String image;
	
	@Column(name="JokeHeader")
	public String getHeaderContent() {
		return headerContent;
	}

	public void setHeaderContent(String headerContent) {
		this.headerContent = headerContent;
	}
	
	@Column(name="JokeContent")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name="url")
	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

}
